.admin-layout {
  min-height: calc(100vh - 50px);
  display: flex;
  background-color: #f5f5f5;
}

.admin-sidebar {
  width: 240px;
  background-color: #fff;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: calc(100vh - 50px);
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid #eee;
}

.sidebar-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #1a1a1a;
  font-weight: 600;
}

.sidebar-nav {
  padding: 16px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background-color: #f5f5f5;
  color: #1a1a1a;
}

.nav-item.active {
  background-color: #f0f7ff;
  color: #1890ff;
  border-left-color: #1890ff;
}

.nav-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.admin-content {
  flex: 1;
  margin-left: 240px;
  padding: 24px;
}

.content-header {
  margin-bottom: 24px;
  background: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.content-header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #1a1a1a;
  font-weight: 600;
}

.content-body {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 64px;
  }

  .admin-content {
    margin-left: 64px;
  }

  .sidebar-header h2,
  .nav-item span {
    display: none;
  }

  .nav-item {
    padding: 12px;
    justify-content: center;
  }

  .nav-icon {
    margin-right: 0;
  }
}
